package com.soushangxing.comfyuibackendv2

import com.soushangxing.comfyuibackendv2.repository.ModelRepository
import com.soushangxing.comfyuibackendv2.repository.OrderRepository
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import kotlin.test.Test

@SpringBootTest
class ComfyUiBackendV2ApplicationTests {

    @Autowired
    lateinit var modalRepository: ModelRepository
    @Autowired
    lateinit var orderRepository: OrderRepository


//    @Test
//    fun addOneModel() {
//        val entity = ModelEntity()
//        entity.name = "基础文生图"
//        entity.typeCode = "text2image-basic"
//        entity.description = "基础的文生图，原生模型"
//        modalRepository.save(entity)
//    }

//    @Test
//    fun deleteAllOrder() {
//        orderRepository.deleteAll()
//    }

}
